package com.jky.stmall.factory.method;

public class t {
   private t(){};
   /*private volatile static t singlet;
   public static t gett(t singlet){
      if (singlet==null){
         synchronized (t.cla                               ss){
            if (singlet==null){
               singlet=new t();
            }
         }
      }
      return singlet;
   }*/
   private static class getInstance{
      private static final  t single=new t();
   }
   public  static t Toget(){
      return  getInstance.single;
   }


}
